home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / turbovis / tvtool17.zip / HEAP.H < prev    next >
C/C++ Source or Header  |  1993-01-14  |  622b  |  30 lines

  1. /*---------------------------------------------------------*/
  2. /*                                                         */
  3. /*   Heap.h : Header file for Heap.cpp                     */
  4. /*---------------------------------------------------------*/
  5.  
  6. #if ! defined( __Heap_H ) && defined(Uses_THeapView)
  7. #define __Heap_H
  8.  
  9.  
  10. class TRect;
  11.  
  12. class THeapView : public TView
  13. {
  14.  
  15. public:
  16.  
  17.     THeapView( TRect& r = TRect(0, 0, 0, 0) );
  18.     virtual void update();
  19.     virtual void draw();
  20.     virtual long heapSize();
  21.  
  22. private:
  23.  
  24.     long oldMem, newMem;
  25.     char heapStr[16];
  26.  
  27. };
  28.  
  29. #endif      // __Heap_H
  30.